<template>
  <div @click="logoReturn" class="logo">
    <img class="logoImg" src="../../public/img/maomi.svg">
  </div>
  <div class="logo">问卷星球</div>
</template>

<script>
export default {
  name: "ProjectLogo",
  methods: {
    logoReturn() {
      console.log('output');
      this.$router.push({
        path: '/'
      })
    }
  }
}
</script>

<style scoped>
  .logo {
    float: left;
  }

  .logoImg {
    float: left;
    margin-top: 6px;
    width: 50px;
    height: 50px;
  }
</style>